package com.example.demo.service;

import com.example.demo.entity.Line;
import com.example.demo.tool.ResponseResult;

import java.util.List;

public interface LineService {
    public ResponseResult<Line> save(Line line);

    public ResponseResult<Line> deleteById(Integer id);

    ResponseResult<Line> getById(Integer num);

    ResponseResult<Line> updateById(Line line);

    ResponseResult<List<Line>> getLines();
}
